package com.bwie.service.impl;

import com.bwie.bean.House;
import com.bwie.bean.Types;
import com.bwie.dao.HouseDao;
import com.bwie.service.HouseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class HouseServiceImpl implements HouseService {

    @Resource
    private HouseDao houseDao;

    @Override
    public List list(Map map) {
        return houseDao.list(map);
    }

    @Override
    public int del(Integer hid) {
        return houseDao.del(hid);
    }

    @Override
    public int updacz(Integer hid) {
        return houseDao.updacz(hid);
    }

    @Override
    public int updatz(Integer hid) {
        return houseDao.updatz(hid);
    }

    @Override
    public List<Types> listt() {
        return houseDao.listt();
    }

    @Override
    public int add(House house) {
        return houseDao.add(house);
    }

    @Override
    public int upda(House house) {
        return houseDao.upda(house);
    }

    @Override
    public House hui(Integer hid) {
        return houseDao.hui(hid);
    }


}



















